﻿<%@ Page Title="" Language="C#" MasterPageFile="~/DoctorPage.master" AutoEventWireup="true" CodeFile="SelectDrugs.aspx.cs" Inherits="SelectDrugs" Theme="TextBox" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <span class="tr">
        <center>查 询 药 品</center>
    </span>
    <center>
        输入药品名称：<asp:TextBox ID="TxtCX" runat="server" Height="20px" Width="150px" AutoPostBack="True" OnTextChanged="TxtCX_TextChanged"></asp:TextBox>
        <asp:Label ID="Label1" runat="server" Text="*至少两个字" ForeColor="#999999"></asp:Label>
    &nbsp;
    <a href="#" onClick="javascript:history.back(-1);" style="font-size:20px ;">返回上一页</a></center>
    <asp:GridView ID="GridView1" runat="server" HorizontalAlign="Center" 
        AutoGenerateColumns="False" CellPadding="4" CellSpacing="3" ForeColor="#333333" 
        GridLines="None" AllowPaging="True" 
        onpageindexchanging="GridView1_PageIndexChanging" OnRowDataBound="GridView1_RowDataBound">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:BoundField DataField="ComName" HeaderText="商用名" />
            <asp:BoundField DataField="Name" HeaderText="通用名" />
            <asp:BoundField DataField="Type" HeaderText="类型" />
            <asp:BoundField DataField="Priceinfo" HeaderText="价格" />
            <asp:BoundField DataField="Spec" HeaderText="规格" />
            <asp:BoundField DataField="Producearea" HeaderText="生产商" />
        </Columns>
        <EditRowStyle BackColor="#2461BF" />
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Right" />
        <RowStyle BackColor="#EFF3FB" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#F5F7FB" />
        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
        <SortedDescendingCellStyle BackColor="#E9EBEF" />
        <SortedDescendingHeaderStyle BackColor="#4870BE" />
    </asp:GridView>
</asp:Content>

